<?php
//模块配置文件
switch(ENVIRONMENT_MODE) {
    case 'local': {
        return array(
            'websocket' => [
                'address' => '192.168.80.129',
                'port'    => '8805'
            ]
        );
    }
    case 'tests': {
        return array(
            'websocket' => [
                'address' => '192.168.80.129',
                'port'    => '8805'
            ],
            'ssl' => [
                'ssl_cert_file' => '/www/server/nginx/ssl/1_ktvme.banyanx.cn_bundle.crt',
                'ssl_key_file' => '/www/server/nginx/ssl/2_ktvme.banyanx.cn.key'
            ]
        );
    }
    case 'gray': {
        return array(
            'websocket' => [
                'address' => '192.168.80.129',
                'port'    => '8805'
            ]
        );
    }
    case 'production': {
        return array(
            'websocket' => [
                'address' => '192.168.80.129',
                'port'    => '8805'
            ]
        );
    }
}